package project.dzz.pojo.base;

import java.util.List;

/**
 * json封装的基类
 * 其他json实体类必须继承该类
 */
public class BaseResponsePojo {
    public int code;    //返回码
    public int count;   //个数
    public List<String> data;  //消息

    //public List<String> msg;
    public BaseResponsePojo(int code, int count) {
        this.code = code;
        this.count = count;
    }

    public BaseResponsePojo(int code, int count, List<String> data) {
        this.code = code;
        this.count = count;
        this.data = data;
    }


}
